<?php
session_start();
require_once '../DatabaseConnection.php';
$DatabaseConnection = new DatabaseConnection( 'root', 'root', 'dmqcms' );

// Connect to the database.
$DatabaseConnection->Connect();

require_once 'MenuController.php';
$MenuController = new MenuController( $DatabaseConnection );

$xhtml = $MenuController->StartController();

// Close the connection to the database.
$DatabaseConnection->close();

?>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Menu</title>
</head>

<body>
<h1>Menu TEST</h1>
<?php
	echo $xhtml;
?>
</body>
</html>

